<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>RTOS - a cooperative multitasking library: armboard::LCD Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">RTOS - a cooperative multitasking library
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="classarmboard.html">armboard</a>      </li>
      <li class="navelem"><a class="el" href="classarmboard_1_1_l_c_d.html">LCD</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">armboard::LCD Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="armboard::LCD" -->
<p>the 2x16 characters <a class="el" href="classarmboard_1_1_l_c_d.html" title="the 2x16 characters LCD on the board">LCD</a> on the board  
 <a href="classarmboard_1_1_l_c_d.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="armboard_8h_source.html">armboard.h</a>&gt;</code></p>

<p><a href="classarmboard_1_1_l_c_d-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a24d9892765fbd82adaeae46d312b36cf"></a><!-- doxytag: member="armboard::LCD::command" ref="a24d9892765fbd82adaeae46d312b36cf" args="(unsigned char cmd)" -->
static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmboard_1_1_l_c_d.html#a24d9892765fbd82adaeae46d312b36cf">command</a> (unsigned char cmd)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">send the command byte cmd to the <a class="el" href="classarmboard_1_1_l_c_d.html" title="the 2x16 characters LCD on the board">LCD</a> <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3b8a899a42424259be621b8b79d46e3e"></a><!-- doxytag: member="armboard::LCD::data" ref="a3b8a899a42424259be621b8b79d46e3e" args="(unsigned char chr)" -->
static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmboard_1_1_l_c_d.html#a3b8a899a42424259be621b8b79d46e3e">data</a> (unsigned char chr)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">send the data byte chr to the <a class="el" href="classarmboard_1_1_l_c_d.html" title="the 2x16 characters LCD on the board">LCD</a> <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmboard_1_1_l_c_d.html#a123197085f8ddd83f32482f09aef0680">clear</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmboard_1_1_l_c_d.html#a7f26cfe4efee1f84c38c6b473836506a">char_write</a> (char chr)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmboard_1_1_l_c_d.html#a954d8617506721f7338ec205b7e20ebc">char_write_raw</a> (char chr)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9d3f34c4ce19c5d3bb3e0a644771a8df"></a><!-- doxytag: member="armboard::LCD::goto_xy" ref="a9d3f34c4ce19c5d3bb3e0a644771a8df" args="(unsigned char x, unsigned char y)" -->
static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmboard_1_1_l_c_d.html#a9d3f34c4ce19c5d3bb3e0a644771a8df">goto_xy</a> (unsigned char x, unsigned char y)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">put the cursor at (x,y) <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62ca5c779f0c75c9f89b174ae01b1d03"></a><!-- doxytag: member="armboard::LCD::goto_x" ref="a62ca5c779f0c75c9f89b174ae01b1d03" args="(unsigned char x)" -->
static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classarmboard_1_1_l_c_d.html#a62ca5c779f0c75c9f89b174ae01b1d03">goto_x</a> (unsigned char x)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">put the cursor at position x of the current line <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>the 2x16 characters <a class="el" href="classarmboard_1_1_l_c_d.html" title="the 2x16 characters LCD on the board">LCD</a> on the board </p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a7f26cfe4efee1f84c38c6b473836506a"></a><!-- doxytag: member="armboard::LCD::char_write" ref="a7f26cfe4efee1f84c38c6b473836506a" args="(char chr)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void armboard::LCD::char_write </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>chr</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>write character chr and advance the cursor</p>
<p>The following characters are handled specially:</p>
<p>\n : advance the cursor to the first position of the next line</p>
<p>\r : advance the cursor to the first position of the current line</p>
<p>\v : clear the screen, cursor goes to upper left (first) position </p>

</div>
</div>
<a class="anchor" id="a954d8617506721f7338ec205b7e20ebc"></a><!-- doxytag: member="armboard::LCD::char_write_raw" ref="a954d8617506721f7338ec205b7e20ebc" args="(char chr)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void armboard::LCD::char_write_raw </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>chr</em></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>write character chr and advance the cursor</p>
<p>Unlike <a class="el" href="classarmboard_1_1_l_c_d.html#a7f26cfe4efee1f84c38c6b473836506a">char_write()</a> no special handling of \n etc. is done. </p>

</div>
</div>
<a class="anchor" id="a123197085f8ddd83f32482f09aef0680"></a><!-- doxytag: member="armboard::LCD::clear" ref="a123197085f8ddd83f32482f09aef0680" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void armboard::LCD::clear </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>clear the <a class="el" href="classarmboard_1_1_l_c_d.html" title="the 2x16 characters LCD on the board">LCD</a></p>
<p>This function clears the <a class="el" href="classarmboard_1_1_l_c_d.html" title="the 2x16 characters LCD on the board">LCD</a> and puts the cursor at the top-left position (= 0,0). </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="armboard_8h_source.html">armboard.h</a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Friends</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 14 2012 15:59:27 for RTOS - a cooperative multitasking library by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
